<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Home extends CI_Controller {

    public function index() {
       
        include_once 'loading_alway.php';
        $data['site'] = 'site/home';
        $data['new_products']=$this->product_model->getNewProduct(10);
        $data['advance_products']=$this->product_model->getAdvancedProduct(5,3000000,100000000);
        $data['general_products']=$this->product_model->getGeneralProduct(6,100000,3000000);
        $data['feature_products']=$this->product_model->getFeatureProduct(10);
        $this->load->view('template', $data);
    }

    public function introduction() {
        $data['site'] = 'site/introduction';
        $this->load->view('template', $data);
    }

    public function guid() {
        $data['site'] = 'site/guid';
        $this->load->view('template', $data);
    }

}

/* End of file home.php */
/* Location: ./application/controllers/home.php */
